package com.bjpowernode.crm.workbench.mapper;

import com.bjpowernode.crm.workbench.domain.Clue;

import java.util.List;

public interface ClueMapper {

    //添加线索
    int insertSelective(Clue clue);
    //删除线索
    int deleteList(String[] ids);
    //有选择的修改线索
    int updateByPrimaryKeySelective(Clue clue);
    //根据主键查询
    Clue selectByPrimaryKey(String id);
    //根据主键查询详情
    Clue selectByPrimaryKeyForDetails(String id);
    //有条件的查询
    List<Clue> selectByConditions(Clue clue);
    //根据主键删除
    int deleteByPrimaryKey(String id);

}